import request from '@/utils/request'

// 查询硬件使用情况表列表
export function listHardware_uses(query) {
  return request({
    url: '/business/hardware_uses/list',
    method: 'get',
    params: query
  })
}

// 查询硬件使用情况表详细
export function getHardware_uses(recordId) {
  return request({
    url: '/business/hardware_uses/' + recordId,
    method: 'get'
  })
}

// 新增硬件使用情况表
export function addHardware_uses(data) {
  return request({
    url: '/business/hardware_uses',
    method: 'post',
    data: data
  })
}

// 修改硬件使用情况表
export function updateHardware_uses(data) {
  return request({
    url: '/business/hardware_uses',
    method: 'put',
    data: data
  })
}

// 删除硬件使用情况表
export function delHardware_uses(recordId) {
  return request({
    url: '/business/hardware_uses/' + recordId,
    method: 'delete'
  })
}

// 导出硬件使用情况表
export function exportHardware_uses(query) {
  return request({
    url: '/business/hardware_uses/export',
    method: 'get',
    params: query
  })
}